﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataTier
{

    public class Customer : Person
    {

        private int _customerId;
        private string _membership;
        private IList<Reservation> _reservations;

        public Customer()
        {
        }

        public Customer(string firstName, string lastName, string address, int zipCode, string email, string phone, string membership)
            : base(firstName, lastName, address, zipCode, email, phone)
        {
            _membership = membership;
        }

        public int CustomerId
        {
            get { return _customerId; }
            set { _customerId = value; }
        }

        public string Membership
        {
            get { return _membership; }
            set { _membership = value; }
        }

        public IList<Reservation> Reservations
        {
            get { return _reservations; }
            set { _reservations = value; }
        }

    }

}
